package at.ac.lbg.media.vis.framework.model;

import incboard.api.DataModelInterface;
import incboard.api.IncBoard;
import incboard.engine.AbstractBoard;
import incboard.engine.Board;
import incboard.engine.HexBoard;
import incboard.engine.Placer;

public class ThemeLandscapeIncBoard extends IncBoard{

    private AbstractBoard board;
    private Placer placer;
    
	public ThemeLandscapeIncBoard(DataModelInterface dataModel, boolean useHex) {
		super(dataModel, useHex);
		// this.dataModel = dataModel;
	        this.addMoveListener(dataModel);
	        if (useHex) {
	            this.board = new HexBoard();
	            this.placer = new ThemeLandscapeHexPlacer(this.board);
	        } else {
	            this.board = new Board();
	            this.placer = new Placer(this.board);
	        }

	        this.board.addMoveListener(this);
	        
	}

}
